package com.wzdigit.wms.wms.api.mes2sap;


import com.wzdigit.framework.exception.RestStatusException;
import com.wzdigit.wms.wms.dto.oqc.OqcInspDto;

/**
 * MES系统向SAP系统交换信息的接口
 */
public interface Mes2SapApi {

    /**
     * 立即报检
     * @param oqcInspDto
     * @param count
     * @param loginName
     * @return
     * @throws RestStatusException
     */
    boolean reportAndUpdateImmediately(OqcInspDto oqcInspDto, Integer count, String loginName) throws RestStatusException;

}
